﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.Routing;
using System.Text;

namespace DreamBox.Net.Web.Http
{
    public class HttpRouteHandler : IRouteHandler
    {
        
        public IHttpHandler GetHttpHandler(RequestContext requestContext)
        {
            //返回处理路由请求的HttpHandler
            return new HttpHandler(requestContext);
        }

        IHttpHandler IRouteHandler.GetHttpHandler(RequestContext requestContext)
        {
            return this.GetHttpHandler(requestContext);
        }
    }
}
